package com.leo.util;

import java.util.Random;

/**
 * @author shaolin.liu
 * @description
 * @date 15:17 2018/8/16
 * @modified By:
 */
public class NumberUtil {

    private static Random random = new Random();
    public static int RANDOM_DEFAULT_NUMBER = 10000;

    public static int randomNumber(){
        return randomNumber(RANDOM_DEFAULT_NUMBER);
    }
    public static int randomNumber(int max){
        return random.nextInt(max);
    }
}
